﻿using CommunityToolkit.Mvvm.ComponentModel;
using PowerTestController.Communication;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PowerTestController.Models
{
    public partial class SourceModel : ObservableObject
    {
        /// <summary>
        /// ITECH 电源通讯2
        /// </summary>
        [ObservableProperty]
        private ITECH_SCPI_Communication? _sCPI_Communication;

        [ObservableProperty]
        private int _portNum;

        [ObservableProperty]
        private string _ipAddress = "";
        /// <summary>
        /// 设定电流
        /// </summary>
        [ObservableProperty]
        private double _currentSet;
        /// <summary>
        /// 开启延时
        /// </summary>
        [ObservableProperty]
        private int _startDelay = 0;
        /// <summary>
        /// 电流值读取值
        /// </summary>
        [ObservableProperty]
        private double _currentGet;

    }
}
